package com.guinea.account.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.guinea.core.web.BaseForm;

public class DictionaryForm extends BaseForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7733846107316461483L;

	private Long id;
    private String code;
    private Integer serial;
    private String dictName;
    private Long parentId;
    private String[] childrenIds;
    
    public void reset(ActionMapping mapping, HttpServletRequest request){
		super.reset(mapping,request);
		serial = new Integer(0);
		parentId = new Long(0);
	}
    
	public String[] getChildrenIds() {
		return childrenIds;
	}
	public void setChildrenIds(String[] childrenIds) {
		this.childrenIds = childrenIds;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public String getDictName() {
		return dictName;
	}

	public void setDictName(String dictName) {
		this.dictName = dictName;
	}

	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getSerial() {
		return serial;
	}
	public void setSerial(Integer serial) {
		this.serial = serial;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}




}
